﻿(function () {
    "use strict";
    var e = window.jQuery,
		t = window.qh360cp,
		n = window._;
    t.pages = t.pages || {}, t.pages.lott_type_id = t.lottery.lott_type_id.ssq, t.pages.price = t.lottery.price, t.pages.sel_act = "btn-boll-active", t.pages.init_one = function () {
        t.ui.tab({
            control: "#plays>li",
            content: ".plays",
            current_class: "active",
            event_name: "click"
        }),
        t.ui.tab({
            control: ".tab-menu>li",
            content: ".tab-cont",
            current_class: "active",
            event_name: "click"
        }),
        e(".mod-select-filter input").on("click", function () {
            var t = e(this),
				n = e(".mod-select-bolls");
            t.attr("id") == "zx" ? (n.eq(0).show(), n.eq(1).hide()) : (n.eq(0).hide(), n.eq(1).show()), e(".lnk-calcel").trigger("click")
        }), e(".mod-select-bolls").on("click", ".btn-boll", function (n) {
            n.preventDefault();
            var r = e(this);
            r.removeClass("btn-boll-tips").toggleClass(t.pages.sel_act), r.hasClass("Q.pages.sel_act") || r.siblings("input").prop("checked", 0), t.pages.sel_count()
        }), e(".tools-boll-list").on("click", "input[type=checkbox]", function () {
            var n = e(this),
				r = e(".tools-boll-list input:checked").length;
            if (r > 5) {
                t.lightbox.alert({
                    content: "\u6700\u591a\u53ea\u80fd\u8bbe\u7f6e5\u4e2a\u80c6\u7801\uff01"
                }), n.prop("checked", 0);
                return
            }
            n.prop("checked") && n.siblings("em").addClass(t.pages.sel_act), t.pages.sel_count()
        }), e(".lnk-calcel").on("click", function (n) {
            n.preventDefault(), e(".plays:visible").find(".btn-boll").removeClass(t.pages.sel_act), e(".mod-select-bolls:visible").find("input[type=checkbox]").each(function (t, n) {
                e(n).prop("checked", 0)
            });
            var r = e(".paste-code:visible");
            r.length && (t.pages.paste_code = [], t.pages.paste_error = [], r.val("")), t.pages.sel_count()
        }), e(".text-right .lnk").on("click", function (t) {
            t.preventDefault(), e(".codelist-compare").html(" "), e(".data-hd").hide(), e(".aside-cont").hide().find(".filter").hide().end().find(".ico-arrow").hide(), e(".infor").show()
        }),
        e("#confirm_sel_code").on("click", function (n) {
            n.preventDefault();
            if (e("#plays .active").attr("desc") == "zx") {
                var r = e(".mod-select-filter input:checked").attr("id");
                t.pages["confrim_sel_" + r]()
            } else t.pages.confrim_sel_paste()
        }),
        e(".results-list").on("click", ".lnk", function (t) {
            t.preventDefault();
            var n = e(this).parents("li"),
				r = e(this).parents(".results-list"),
				i = n.nextAll("li").size(),
				s = e("li", r).index(n),
				o = [],
				u = s;
            if (i < 20) {
                for (; u <= s + i; u++) e("li", r).eq(u).removeClass("none");
                n.remove()
            } else {
                for (; u < s + 20; u++) e("li", r).eq(u).removeClass("none");
                e("li", r).eq(s + 20).before(n)
            }
        }), e(".kzsearch").on("click", function (t) {
            t.preventDefault();
            var n = e(this).parents(".kj-intro"),
				r = e(this).parents(".tab-cont"),
				i = r.find(".results-clone"),
				s = r.find(".results-list"),
				o = s.find("li").length,
				u = i.find("li").length;
            o != 0 && u == 0 && i.html(s.find("li").clone()), n.find(".ico-arrow").toggle(), n.next().toggle()
        }), e(".cancel").on("click", function (t) {
            t.preventDefault();
            var n = e(this).parents(".tab-cont"),
				r = n.find(".results-list"),
				i = n.find(".results-clone"),
				s = i.find("li").length;
            r.html(i.html()), e(this).hide()
        }), e(".kzbtn").on("click", function (n) {
            n.preventDefault();
            var r = e(this).parents(".tab-cont"),
				i = r.find(".results-list"),
				s = i.find("li").length;
            if (s < 1) {
                t.lightbox.alert({
                    content: "\u8bf7\u5bf9\u6bd4\u51fa\u7ed3\u679c\u4e4b\u540e\u518d\u8fdb\u884c\u67e5\u8be2\uff01"
                });
                return
            }
            e(".loading").show(), e(this).siblings(".quxiao").find(".cancel").show();
            var o = e(this).parents(".filter").find("input:checked").val(),
				u = r.find('.results-clone li:not(".show-more")'),
				a = [],
				f = {};
            e(u).each(function () {
                var t = e(this).find(".iss").text();
                a.push(t), f[t] = e(this).html()
            }), e.ajax({
                url: "/tools/getAroundIssues?LotID=" + t.pages.lott_type_id + "&Issues=" + a.join(",") + "&Num=" + o + "&t=" + +(new Date),
                dataType: "json",
                success: function (t) {
                    if (t.xCode == "0") {
                        e(".loading").hide();
                        var n = t.xValue,
							r = [];
                        for (var s in f) {
                            var o = n[s].before ? n[s].before : "",
								u = n[s].after ? n[s].after : "",
								a = o.length,
								l = 0,
								c = u.length,
								h = 0;
                            for (; l < a; l++) {
                                var p = o[l].iss;
                                if (o[l].co != "") {
                                    var d = o[l].co.split("+"),
										v = d[0],
										m = d[1];
                                    r.push('<li><span class="date">\u7b2c<em>' + p + '</em>\u671f</span><div class="code">' + v + " | " + m + "</div></li>")
                                } else r.push('<li><span class="date">\u7b2c<em>' + p + '</em>\u671f</span><div class="code">\u672a\u5f00</div></li>')
                            }
                            r.push("<li>" + f[s] + "</li>");
                            for (; h < c; h++) {
                                var g = u[h].iss;
                                if (u[h].co != "") {
                                    var y = u[h].co.split("+"),
										b = y[0],
										w = y[1];
                                    r.push('<li><span class="date">\u7b2c<em>' + g + '</em>\u671f</span><div class="code">' + b + " | " + w + "</div></li>")
                                } else r.push('<li><span class="date">\u7b2c<em>' + g + '</em>\u671f</span><div class="code">\u672a\u5f00</div></li>')
                            }
                            r.push("<li></li>")
                        }
                        /firefox\/(\d+\.\d+)/i.test(navigator.userAgent) ? i.html(r.join("")) : i.html(r.reverse().join(""))
                    }
                }
            })
        })
    }, t.pages.get_post_code = function () {
        var t = e.map(e(".codelist-compare li"), function (t) {
            return e(t).attr("codes")
        });
        return t.join(";")
    }, t.pages.confrim_sel_zx = function () {
        var n = e(".mod-select-bolls:visible").find(".boll-list"),
			r = "",
			i = [],
			s = "",
			o, u = [0, 0];
        n.each(function (n) {
            var r = e.map(e(this).find("." + t.pages.sel_act), function (t) {
                return e(t).text()
            });
            u[n] = r.length, i.push(r.join(" "))
        });
        if (u[0] < 1 && u[1] < 1) {
            s = '\u81f3\u5c11\u9009\u53d6<em class="red">6</em>\u4e2a\u7ea2\u7403\uff0c<em class="blue">1</em>\u4e2a\u84dd\u7403', t.lightbox.alert({
                content: s
            });
            return
        }
        if (u[0] < 6 || u[1] < 1) {
            s = '\u60a8\u9009\u4e86\uff08<em class="red">' + u[0] + '</em>\u7ea2 + <em class="blue">' + u[1] + "</em>\u84dd\uff09,\u8bf7\u81f3\u5c11\u518d\u9009", u[0] < 6 && (s += '<em class="red">' + (6 - u[0]) + "</em>\u4e2a\u7ea2\u7403"), u[1] < 1 && (s += '<em class="blue">1</em>\u4e2a\u84dd\u7403'), t.lightbox.alert({
                pop_box_style: 'style="width:426px;"',
                content: s
            });
            return
        }
        r = i.join(" + ");
        var a = e.trim(e(".sel_info:visible b").eq(2).text()) * 1,
			f = [
				[
					["", ""], r, a]
			];
        t.pages.add_codes(f, t.pages.modi_zx), e(".lnk-calcel").trigger("click")
    }, t.pages.confrim_sel_dt = function () {
        var n = e(".mod-select-bolls:visible").find(".boll-list"),
			r = "",
			i = [],
			s = "",
			o, u = [],
			a = [];
        n.eq(0).find("." + t.pages.sel_act).each(function (t, n) {
            e(n).siblings().prop("checked") ? u.push(e(n).text()) : a.push(e(n).text())
        });
        var f = e.map(e(".boll-blue-list").find("." + t.pages.sel_act), function (t) {
            return e(t).text()
        });
        u.length + a.length < 6 ? (s = "\u7ea2\u7403\u80c6\u7801+\u7ea2\u7403\u62d6\u7801\u81f3\u5c11\u9009\u53d66\u4e2a", u.length ? a.length || (s = "\u8bf7\u81f3\u5c11\u9009\u53d6\u4e00\u4e2a\u7ea2\u7403\u62d6\u7801") : s = "\u8bf7\u81f3\u5c11\u9009\u53d6\u4e00\u4e2a\u7ea2\u7403\u80c6\u7801") : f.length || (s = "\u8bf7\u81f3\u5c11\u9009\u53d6\u4e00\u4e2a\u84dd\u7403"), i.push(u.join(" ")), u.length && i.push("$"), i.push(a.join(" ")), i.push(" + "), i.push(f.join(" ")), r = i.join("");
        var l = e.trim(e(".sel_info:visible b").eq(4).text()) * 1;
        if (l < 1) {
            t.lightbox.alert({
                content: s
            });
            return
        }
        var c = [
			[
				["", ""], r, l]
        ];
        t.pages.add_codes(c, t.pages.modi_dt), e(".lnk-calcel").trigger("click")
    }, t.pages.add_codes = function (r, i) {
        var s = [],
			o = r.length,
			u = "\u5355\u5f0f",
			a, f = 0;
        for (var l = 0; l < o; l++) {
            var a = r[l];
            u = a[2] > 1 ? "\u590d\u5f0f" : "\u5355\u5f0f", n.isArray(a[1]) && (a[1] = a[1] + ""), a[1].indexOf("$") > -1 && (u = "\u80c6\u62d6"), f += a[2];
            var c = {
                plays: (a[0][1] || "") + (a[0][2] || u),
                count: a[2],
                money: a[2] * t.pages.price,
                code: a[1].replace(/(\+\s?)(.+)$/g, '$1<b class="blue">$2</b>'),
                codes: a[0][0] ? a[0][0] + "|" + a[1] : a[1].replace(/\s\+\s/g, "+")
            },
				h = '<span class="modi"  count="<%=count%>">\u4fee\u6539</span><span class="compare none">\u5bf9\u6bd4</span><span  class="zhong none">\u4e2d<b class="red zj">0</b>\u6b21</span>',
				p = ' <li class="active" codes="<%=codes%>"><span class="del"  count="<%=count%>">\u5220\u9664</span>' + h + '<div class="code"><b><%=plays%></b><b class="em"><%=code%></b>  [<%=count%>\u6ce8,<em class="code-list-money"><%=money%></em>\u5143]</div></li>',
				d = n.template(p);
            s.push(d(c))
        }
        var v = e(".codelist-compare"),
			h = v.find(".libgred");
        if (h.length > 0 && o == 1 && i) {
            var m = h.find(".del").attr("count") * 1;
            f -= m, h.replaceWith(s.join("")), t.pages.modi_zx = 0, t.pages.modi_dt = 0, t.pages.modi = {}, e("#confirm_sel_code").text("\u786e\u8ba4\u9009\u53f7")
        } else v.prepend(s.join(""));
        t.pages.totle(f), t.pages.money_change(), v.parents(".content").scrollTop(0), setTimeout(function () {
            v.find(".active").removeClass("active")
        }, 800)
    }, t.pages.sel_count = function () {
        var n = e(".mod-select-filter input:checked").attr("id");
        t.pages["sel_count_" + n]()
    }, t.pages.sel_count_zx = function () {
        var r = e(".mod-select-bolls:visible").find(".boll-list"),
			i = 0,
			s = r.eq(0).find("." + t.pages.sel_act).length,
			o = r.eq(1).find("." + t.pages.sel_act).length;
        i = t.number.combo(s, 6) * o;
        var u = [s, o, i, i * t.pages.price];
        n.each(e(".sel_info:visible b"), function (t, n) {
            e(t).text(u[n])
        })
    }, t.pages.sel_count_dt = function () {
        var r = e(".mod-select-bolls:visible").find(".boll-list"),
			i = 1,
			s = r.eq(0).find("input:checked").length,
			o = r.eq(0).find("." + t.pages.sel_act).length - s,
			u = e(".boll-blue-list").find("." + t.pages.sel_act).length;
        i = t.number.combo(o, 6 - s) * u;
        var a = [s + o, s, o, u, i, i * t.pages.price];
        n.each(e(".sel_info:visible b"), function (t, n) {
            e(t).text(a[n])
        })
    }, t.pages.code_box = function () {
        e(".codelist-compare").on("mouseover", "li", function () {
            e(this).addClass("active")
        }).on("mouseout", "li", function () {
            e(this).removeClass("active")
        }), e(".codelist-compare").on("click", ".del", function () {
            var t = e(this).parents("li");
            t.remove(), e(".lnk-calcel").trigger("click")
        }), e(".codelist-compare").on("click", ".modi", function () {
            var n = e(this).parents("li");
            n.addClass("libgred").siblings(".libgred").removeClass("libgred"), e("#confirm_sel_code").text("\u786e\u8ba4\u4fee\u6539"), e.isFunction(t.pages.modi_code) && (t.pages.modi_code.call(n), e("body").animate({
                scrollTop: 125
            }, 200))
        }), e(".codelist-compare").on("click", ".compare", function () {
            var n = e(".codelist-compare li"),
				r = e(this).text(),
				i = e(this).parents("li");
            n.each(function () {
                e(this).find(".zhong").hide(), e(this).find(".compare").text("\u5bf9\u6bd4"), e(this).removeClass("dbactive")
            });
            if (r == "\u5bf9\u6bd4") {
                e(this).text("\u53d6\u6d88"), e(this).siblings(".zhong").show(), i.addClass("dbactive");
                var s = i.attr("codes"),
					o = e(".codelist-compare li").index(i);
                t.pages.get_comp_res(s, o)
            } else e(this).text("\u5bf9\u6bd4"), e(this).siblings(".zhong").hide(), i.removeClass("dbactive"), e(".btn-large2").trigger("click")
        })
    }, t.pages.modi_code = function () {
        var r = e(this).attr("codes"),
			i = r.indexOf("$") > -1 ? "dt" : "zx",
			s = e(".mod-select-filter input:checked").attr("id");
        e("#plays .active").attr("desc") == "zt" && e("#plays li").eq(0).trigger("click"), t.pages.modi_zx = 0, t.pages.modi_dt = 0, t.pages["modi_" + i] = 1, i != s && e(".mod-select-filter input[id=" + i + "]").trigger("click");
        var o = r.replace(" + ", "+").split("+"),
			u = e(".mod-select-bolls:visible").find(".boll-list");
        if (i == "dt") {
            u.eq(0).find("input:checked").each(function (t) {
                e(t).prop("checked", 0)
            }), u.eq(0).find(".btn-boll").removeClass(t.pages.sel_act), u.eq(1).find(".btn-boll").removeClass(t.pages.sel_act);
            var a = o[0].split("$");
            n.each(a[0].split(" "), function (e) {
                u.eq(0).find(".btn-boll").eq(e - 1).addClass(t.pages.sel_act).siblings().prop("checked", 1)
            }), n.each(a[1].split(" "), function (e) {
                u.eq(0).find(".btn-boll").eq(e - 1).addClass(t.pages.sel_act)
            });
            var f = u.eq(1).find(".btn-boll").removeClass(t.pages.sel_act);
            n.each(o[1].split(" "), function (e) {
                f.eq(e - 1).addClass(t.pages.sel_act)
            })
        } else {
            var l = u.eq(0).find(".btn-boll").removeClass(t.pages.sel_act);
            n.each(o[0].split(" "), function (e) {
                l.eq(e - 1).addClass(t.pages.sel_act)
            });
            var c = u.eq(1).find(".btn-boll").removeClass(t.pages.sel_act);
            n.each(o[1].split(" "), function (e) {
                c.eq(e - 1).addClass(t.pages.sel_act)
            })
        }
        t.pages.sel_count()
    }, t.pages.compare = function () {
        e(".btn-large2").on("click", function (n) {
            n.preventDefault();
            if (e(".codelist-compare li").length == "0") {
                t.lightbox.alert({
                    content: "\u8bf7\u81f3\u5c11\u9009\u62e9\u4e00\u6ce8\u53f7\u7801\u8fdb\u884c\u5bf9\u6bd4\uff01"
                });
                return
            }
            if (e(".codelist-compare li").length > 1e3) {
                t.lightbox.alert({
                    content: "\u62b1\u6b49\uff0c\u60a8\u4e00\u6b21\u5bf9\u6bd4\u4e0d\u80fd\u8d85\u8fc71000\u6761\uff0c\u5efa\u8bae\u60a8\u5206\u591a\u6b21\u5bf9\u6bd4\u6216\u8005\u9009\u62e9\u901a\u8fc7\u590d\u5f0f\u9009\u53f7\u7684\u65b9\u5f0f\u5bf9\u6bd4\uff01"
                });
                return
            }
            var r = e(".codelist-compare li");
            r.each(function () {
                e(this).find(".zhong").hide(), e(this).find(".compare").show().text("\u5bf9\u6bd4"), e(this).removeClass("dbactive")
            }), t.pages.get_comp_res()
        })
    }, t.pages.get_comp_res = function (n, r) {
        e(".loading").show();
        var i = e(".tab-menu .active").attr("num"),
			s = {
			    LotID: t.pages.lott_type_id,
			    IssueCount: e('.method [type="radio"]:checked').val(),
			    TopCount: 1e3,
			    Chips: n || t.pages.get_post_code()
			};
        e(".kjtj-list .red").each(function () {
            e(this).text(0)
        }), e(".tab-cont").each(function (t) {
            e(this).find(".results-list").html('<p style="text-align: center; color: #999; padding-top:25px;">\u6682\u65e0\u4e2d\u5956\u7eaa\u5f55</p>')
        }), e(".kj-intro .kj-btn").hide(), e(".tab-cont").eq(i).find(".results-list p").text("\u6b63\u5728\u52aa\u529b\u4e3a\u60a8\u5bf9\u6bd4\u4e2d..."), e(".data-hd").show(), e(".aside-cont").show(), e(".infor").hide();
        if (s.IssueCount != e('.method [type="radio"]:checked').val()) return;
        e.ajax({
            url: "/tools/getCompareResult",
            dataType: "json",
            type: "POST",
            data: s,
            timeout: 18e4,
            error: function () {
                t.lightbox.alert({
                    content: "\u7f51\u7edc\u8d85\u65f6\uff0c\u8bf7\u60a8\u7a0d\u540e\u5bf9\u6bd4\uff01"
                });
                return
            },
            success: function (n) {
                if (n.code == 200) {
                    e(".loading").hide(), e(".tab-cont").eq(i).find(".results-list p").text("\u6682\u65e0\u4e2d\u5956\u7eaa\u5f55"), e(".data-hd h2 b").text(n.data.issueCount);
                    var n = n.data.result,
						o = [],
						u = e(".kjtj-list"),
						a = 0,
						f = n.length,
						l = 0,
						c = e(".kjtj-list li .red"),
						h = e(".kj-intro");
                    if (f == 0) u.html("<p>\u4f60\u9009\u62e9\u7684\u53f7\u7801\u5728\u6240\u9009\u7684\u671f\u6b21\u8303\u56f4\u5185\u8fd8\u6ca1\u6709\u4e2d\u8fc7\u5956\uff01</p>");
                    else for (; a < f; a++) {
                        o.length = 0, l += n[a].total * 1, c.eq(n[a].level - 1).html(n[a].total), h.eq(n[a].level - 1).find(".kj-btn").show();
                        var p = n[a].detail,
							d = p.length,
							v = 0;
                        for (; v < d; v++) {
                            var m = t.pages.tag_code(s.Chips, p[v].winno, n[a].level),
								g = p[v].winno.split("+"),
								y = g[0].split(" "),
								b = 0,
								w = v > 15 ? 'class="none"' : "";
                            o.push("<li " + w + '><span class="date">\u7b2c<em class="iss">' + p[v].issue + '</em>\u671f</span><div class="code">');
                            for (; b < 6; b++) {
                                var E = y[b],
									S = e.inArray(E, m.red) > -1 ? "red" : "c-9";
                                o.push('<em class="' + S + '"> ' + E + " </em> ")
                            }
                            o.push("| <em" + (e.inArray(g[1], m.blue) > -1 ? ' class="blue">' : ">") + g[1] + "</em>"), o.push('</div><span class="money">(' + t.number.currency(p[v].bonus) + "\u5143)</span></li>"), v == 15 && o.push('<li class="show-more"><a class="lnk" href="#">\u67e5\u770b\u66f4\u591a\u671f</a></li>')
                        }
                        e(".tab-cont").eq(n[a].level - 1).find(".results-list").html(o.join("")), e(".codelist-compare li").eq(r).find(".zhong").show().find(".zj").text(l)
                    }
                }
            }
        })
    }, t.pages.tag_code = function (e, t, r) {
        var i = {
            1: [
				[6, 1]
            ],
            2: [
				[6, 0]
            ],
            3: [
				[5, 1]
            ],
            4: [
				[4, 1],
				[5, 0]
            ],
            5: [
				[3, 1],
				[4, 0]
            ],
            6: [
				[2, 1],
				[0, 1],
				[1, 1]
            ]
        },
			s = {
			    red: [],
			    blue: []
			},
			o = t.split("+"),
			u = o[0].split(" "),
			a = o[1].split(" "),
			e = e.split(";");
        for (var f = 0, l = e.length; f < l; f++) {
            var c = e[f].split(/[\+\$]/),
				h, p, d, v;
            c.length > 2 ? (h = c[0].split(" "), p = c[1].split(" "), d = c[2].split(" ")) : (h = [], p = c[0].split(" "), d = c[1].split(" "));
            var m = n.intersection(h, u),
				g = n.intersection(p, u),
				y = n.intersection(d, a),
				b = m.length,
				w = g.length,
				E = b + w,
				S = y.length,
				x = p.length - w + h.length - b,
				T = d.length - S,
				N = i[r],
				C = !1;
            for (var k = 0, L = N.length; k < L; k++) if (E >= N[k][0] && x >= 6 - N[k][0] && (N[k][1] ? S == 1 : T > 0)) {
                s.red = m.concat(g.slice(0, N[k][0] - b)), N[k][1] && (s.blue = y), C = !0;
                break
            }
            if (C) break
        }
        return s
    },
    t.pages.confrim_sel_paste = function () {
        t.pages.paste_check();
        var e = '<div class="panel panel-t1 panel-fb">					<div class="panel-content">						<div class="hd">							<h3>\u6e29\u99a8\u63d0\u793a</h3>						</div>						<div class="bd">							<div class="feedback clearfix">								<i class="ico ico-succ"></i>								<div class="cont">									<h4>\u7cfb\u7edf\u5df2\u68c0\u6d4b\u51fa<b class="red"> ' + t.pages.paste_zhu + ' </b>\u6ce8\uff0c<b class="red">' + t.pages.paste_zhu * 2 + '</b>\u5143</h4>									<h4>\u662f\u5426\u786e\u8ba4\u5bf9\u6bd4\uff1f</h4>									<div class="btns">										<button class="btn paste-ok"><span class="btn-panel btn-panel-primary">\u786e\u5b9a</span></button>										<a href="#" class="lnk paste-return">\u8fd4\u56de\u4fee\u6539</a>									</div>								</div>							</div>						</div>					</div>					<span class="close paste-return"></span>					<span class="sd"></span>				</div>';
        if (t.pages.paste_zhu > 0) t.lightBox.show({
            html: e,
            cancel_sel: ".paste-return",
            confirm_sel: ".paste-ok",
            confirm_callback: function () {
                t.pages.add_codes(t.pages.paste_code), t.pages.clear_sel()
            },
            cancel_callback: function () {
                t.lightBox.close()
            }
        });
        else if (t.pages.paste_error.length > 1) {
            var n = "\u5206\u522b";
            t.lightBox.alert({
                content: n + "\u5728\u7b2c" + t.pages.paste_error.join("\u3001") + "\u884c\u53f7\u7801\u6709\u8bef\uff0c\u8bf7\u4fee\u6539\u540e\u518d\u6295\u6ce8\uff01"
            })
        } else t.lightBox.alert({
            content: "\u8bf7\u68c0\u67e5\u53f7\u7801\u8f93\u5165\u662f\u5426\u6b63\u786e\uff01"
        })
    }, e(function () {
        t.pages.init_one(), t.pages.code_box(), t.pages.compare()
    })
})();